#ifndef __MPPT_H
#define __MPPT_H

#include "system.h"
#include <rtthread.h>


#define PWM_StepSize								5

#define MPPT_BackFlow_Enable				PAout(12)
#define MPPT_Output_Enable					PAout(15)





int constrain(int input_val,int min_val,int max_val);
void MPPT_Task(void *parameter);
#endif


